<?php
		require_once '../models/Product.php';
		$host	= $_SERVER['HTTP_HOST'];
		$uri	= rtrim(dirname($_SERVER['PHP_SELF']),'/\\');
		$page	= "list_product.php";
		$productID	= $_REQUEST["productID"];
		$del = Product::delProduct($productID);
		if($del)
		header("Location: http://$host/$uri/$page");
?>